﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/news_management.Master" AutoEventWireup="true"
    CodeBehind="category_manager.aspx.cs" Inherits="pcsse.MasterPages.WebForm6" Title="类别管理" %>

<asp:Content ID="Content1" ContentPlaceHolderID="hoder_maincontent" runat="server">
<div class="p_title">
栏目管理
</div>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <asp:Button ID="BtnADD" runat="server" Text="新增" OnClick="BtnADD_Click" />
    <div>
        <asp:DataList ID="DataList1" runat="server" DataKeyField="CATEGORY_ID" OnItemCommand="BtnCommand">
            <ItemTemplate>
                <div>
                    <tr>
                        <td>
                            <asp:TextBox ID="TB_Title" runat="server" Text='<%# Eval("CATEGORY_TITLE") %>'></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="Button3" runat="server" CommandName="BtnDel" Text="删除" />
                            <asp:Button ID="Button1" runat="server" CommandName="BtnEdit" Text="修改" />
                        </td>
                    </tr>
            </ItemTemplate>
        </asp:DataList>
    </div>
    <%--    <div>
        <asp:Button ID="BtnSave" runat="server" Text="保存" OnClick="BtnSave_Click" />
        <asp:Button ID="BtnCancel" runat="server" Text="放弃" OnClick="BtnCancel_Click" />
    </div>--%>
</asp:Content>
